#ifndef LOGINPLUGIN_H
#define LOGINPLUGIN_H


#include "pluginbase.h"

#include <QString>

class Account;
class LoginPlugin;
class LoginConfig : public PluginConfigBase
{
public:
    LoginConfig(LoginPlugin* plugin)
        : PluginConfigBase((PluginBase*)plugin){}
    QString code;
    QString rcode;
};

class LoginPlugin : public PluginBase
{
Q_OBJECT
private:
public:
    explicit LoginPlugin(QObject *parent = 0);
    virtual int start(Account* act, int stage = -1);
    virtual void singleSave(QSettings* settings, Account* act);
    virtual void singleLoad(QSettings* settings, Account* act);
    virtual ConfigWidgetBase* createConfigWidget(Account* act);
signals:

public slots:

};

#endif // LOGINPLUGIN_H
